package com.lyh.system.domain.req;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.lyh.common.core.domain.BasePageEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel(value = "用户收益", description = "用户收益")
@Data
public class UserIncomePageReq extends BasePageEntity {


    @ApiModelProperty(example = "用户id")
    @JsonSerialize(using = ToStringSerializer.class)
    @NotNull(message = "用户id不能为空")
    private String userId;


    private List<String> list;

    private List<Long> realList;

    @ApiModelProperty(example = "会员等级")
    private Integer memberLeve;

    @ApiModelProperty(example = "门店等级")
    private Integer storeLeve;


    @ApiModelProperty(example = "账号")
    private String userName;

    @ApiModelProperty(example = "会员id")
    private String memberId;

    @ApiModelProperty(example = "用户类型 0 所有 1 本人 2直推人员 3间推人员")
    @NotNull(message = "用户类型 0 所有 1 本人 2直推人员 3间推人员 不能为空")
    private Integer personType = 0;

}
